package com.langsotech.studio.refactor.move;
import java.util.Map;
import org.eclipse.ltk.core.refactoring.RefactoringContribution;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
public class MoveResourceRefactoringContribution extends RefactoringContribution {
	@Override
	public RefactoringDescriptor createDescriptor(String id, String project, String description, String comment, Map arguments, int flags) {
		return new MoveResourceDescriptor(project, description, comment, arguments);
	}
	@Override
	public Map retrieveArgumentMap(RefactoringDescriptor descriptor) {
		if (descriptor instanceof MoveResourceDescriptor)
			return ((MoveResourceDescriptor) descriptor).getArguments();
		return super.retrieveArgumentMap(descriptor);
	}
}
